//调用接口配置文件
import { request } from 'config/request'
// 定义接口
export async function getDetail(params) {
	return request({
		url: 'admin/coupons/config/retrieve',
		method: 'GET',
		data: params
	});
};

export async function getgiftList(params) {
	return request({
		url: 'admin/gift/applyList',
		method: 'POST',
		data: params
	});
};

//导出礼品详情列表
export async function exportGift(params) {
	return request({
		url: 'admin/gift/exportExcel',
		method: 'POST',
		data: params
	});
};